package IC.Parser;

import IC.CompilationError;

public class SyntaxError extends CompilationError {
	private static final long serialVersionUID = 1L;

	public SyntaxError(String file, int line, int column, String found) {
		super(file,line,column,"Syntax","Unexpected "+found);
	}	

	public SyntaxError(String file, int line, int column, String found, String message) {
		super(file,line,column,"Syntax","Unexpected "+found+": "+message);
	}
}
